package com.veetao.api.model;

import java.util.Map;

/**
 * 请求相关的基础数据
 * 
 */
public class RequestBaseContext implements java.io.Serializable {

	private static final long serialVersionUID = 1L;

	private long userId;

	private long time;

	private String httpMethod;

	private String requestURI;

	private Map<String, String> requestParamMap;

	private AppClientInfo appInfo;

	private String ticket;

	private String secretKey;

	public long getUserId() {
		return userId;
	}

	public void setUserId(long userId) {
		this.userId = userId;
	}

	public long getTime() {
		return time;
	}

	public void setTime(long time) {
		this.time = time;
	}

	public String getHttpMethod() {
		return httpMethod;
	}

	public void setHttpMethod(String httpMethod) {
		this.httpMethod = httpMethod;
	}

	public String getSecretKey() {
		return secretKey;
	}

	public void setSecretKey(String secretKey) {
		this.secretKey = secretKey;
	}

	public AppClientInfo getAppInfo() {
		return appInfo;
	}

	public void setAppInfo(AppClientInfo appInfo) {
		this.appInfo = appInfo;
	}

	public String getRequestURI() {
		return requestURI;
	}

	public void setRequestURI(String requestURI) {
		this.requestURI = requestURI;
	}

	public Map<String, String> getRequestParamMap() {
		return requestParamMap;
	}

	public void setRequestParamMap(Map<String, String> requestParamMap) {
		this.requestParamMap = requestParamMap;
	}

	public String getTicket() {
		return ticket;
	}

	public void setTicket(String ticket) {
		this.ticket = ticket;
	}

	@Override
	public String toString() {
		return "RequestBaseContext [userId=" + userId + ", time=" + time + ", httpMethod=" + httpMethod
				+ ", requestURI=" + requestURI + ", requestParamMap=" + requestParamMap + ", appInfo=" + appInfo
				+ ", ticket=" + ticket + ", secretKey=" + secretKey + "]";
	}

}
